package me.liuhui.mall.manager.service;

import me.liuhui.mall.manager.service.security.CurrentAdmin;

public interface AdminTokenService {
    String TOKEN_PREFIX = "Bearer ";

    String createToken(CurrentAdmin admin);

    String getUsernameFromToken(String token);
}
